export interface PortfolioSummary {
  totalValue: number;
  cash: number;
  dailyPnl: number;
  dailyPnlPercent: number;
}

export interface Position {
  symbol: string;
  name: string;
  quantity: number;
  avgPrice: number;
  lastPrice: number;
}

export interface MarketItem {
  symbol: string;
  name: string;
  lastPrice: number;
  changePercent: number;
  volume: number;
}

export const portfolioSummary: PortfolioSummary = {
  totalValue: 1250342.56,
  cash: 230456.12,
  dailyPnl: 18456.78,
  dailyPnlPercent: 1.5
};

export const positions: Position[] = [
  {
    symbol: "TT-BANK",
    name: "大亨银行",
    quantity: 3200,
    avgPrice: 23.4,
    lastPrice: 25.1
  },
  {
    symbol: "TT-TECH",
    name: "大亨科技",
    quantity: 1500,
    avgPrice: 86.2,
    lastPrice: 92.8
  },
  {
    symbol: "TT-SHIPPING",
    name: "大亨航运",
    quantity: 4800,
    avgPrice: 12.5,
    lastPrice: 11.9
  }
];

export const marketSnapshot: MarketItem[] = [
  {
    symbol: "TT-ENERGY",
    name: "大亨能源",
    lastPrice: 68.4,
    changePercent: 2.1,
    volume: 1_200_000
  },
  {
    symbol: "TT-LUX",
    name: "大亨奢品",
    lastPrice: 152.3,
    changePercent: -0.8,
    volume: 320_000
  },
  {
    symbol: "TT-LOGI",
    name: "大亨物流",
    lastPrice: 34.7,
    changePercent: 0.6,
    volume: 780_000
  }
];


